<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<f:view>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Home</title>
</head>
<body>
<center>
<h1>Java Learning Center</h1>
<h1>Hi! <h:outputText value="#{userBean.username}"/> ur login is successful</h1>
<h2>This is JLC home page</h2>
<h:form>
<h:commandButton value="try again" action="#{userBean.gotologin}"/>
</h:form>
</center>
</body>
</html>
</f:view>